package com.face.server.repository.exRepository;

import com.face.server.entity.Dormitory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by ryan on 2018/3/15.
 */
public interface exDormitoryRepository {
    List<Dormitory> listDormitories(Pageable pageRequest, String key1, String key2);

    List<Dormitory> listDormitories(Pageable pageRequest, String key1, String key2, List<Integer> dormitoryNumList);
}
